package com.cn.sys.main.entity;

import java.util.Date;

import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.cn.sys.frame.util.CustomDateTimeSerializer;

public class SysRole {

	private Long id;
	private String roleName;
	private String remark;
	private String createUser;
	private Date createTime;
	private Date updateTime;
	
	public SysRole(){
		
	}

	public SysRole(Long id, String roleName, String remark, String createUser,
			Date createTime, Date updateTime) {
		this.id = id;
		this.roleName = roleName;
		this.remark = remark;
		this.createUser = createUser;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	@JsonSerialize(using = CustomDateTimeSerializer.class)
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@JsonSerialize(using = CustomDateTimeSerializer.class)
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}
